<% props = properties_to_adjust(object) -%>
<% unless props.empty? -%>


def adjust_options(opts, states):
<%   fl = true -%>
<%   props.each do |prop| -%>
<%     c = adjust_option(prop, "", "opts", "states", 4, object, "resource") -%>
<%   unless c.empty? -%>
<%       unless fl -%>

<%       end -%>
<%= c %>
<%       fl = false -%>
<%   end -%>
<% end -%>
<%   props.each do |prop| -%>
<%= lines(build_adjust_option_method("", prop, object, "resource")) -%>
<%   end -%>
<% end -%>
